<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>账号展示</title>
    <style>
        body{
            margin: 0px;
            background-color: aquamarine;
            background-size: cover;
        }
        #div1{
            height: 50px;
            line-height: 50px;
            font-size: 30px;
            font-weight: 600;
            color: white;
            background-color: darkcyan;
            /* text-indent: 50px; */
            padding-left: 40px;
        }
        #div2{
            height: 200px;
            width: 500px;
            background-color: rgba(0,0,0,0.2);
            margin: 80px auto;
            padding-top: 40px;
            padding-left: 200px;

        }

        #div2 img{
            height: 30px;
            width: 30px;
            vertical-align: middle;
        }
        #div2 input{
            height: 30px;
            width: 249px;
            padding-left: 20px;
            font-size: 20px;
            margin: 20px;
        }
        button{
            width: 100px;
            height: 30px;
            background-color: #FFFFFF;
            border: 0px;
            font-size: 20px;
            text-align: center;
        }


    </style>
</head>
<body>
<!-- 第一块区域 -->
<div id="div1">
    账号管理
</div>

<div id="div2">
    <div >
        <a href="jumpAdd">增加用户</a>
    </div>
    <div>
        <table border="1px">
            <tr>
                <td>序号</td>
                <td>用户名</td>
                <td>密码</td>
                <td>操作</td>
            </tr>
            <tr th:each="user:${userPojoList}">
                <td th:text="${user.uid}"></td>
                <td th:text="${user.uname}"></td>
                <td th:text="${user.upass}"></td>
                <td>
                    <i>
                        <a th:href="@{'deleteUser?uid='+${user.uid}}">删除</a>
                    </i>
                    <i>
                        <a th:href="@{'selectbyid?uid='+${user.uid}}">更新</a>
                    </i>
                </td>
            </tr>
        </table>


    </div>
</div>



</body>
</html>
